<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>我的优惠券</title>
  <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport"/>
  <meta content="yes" name="apple-mobile-web-app-capable"/>
  <meta content="black" name="apple-mobile-web-app-status-bar-style"/>
  <meta content="telephone=no" name="format-detection"/>
  <script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
  <script src="__STATIC__/layer/layer.js"></script>
</head>
<body>
  {foreach name="list" item="v"}
      <div>
          <p>{$v.name}</p>
          <p>满￥{$v.morethan}减{$v.reduce}</p>
          {if condition="$v.is_used eq 1"}
              已使用
          {else /}
              未使用
          {/if}
      </div>
  {/foreach}
</body>
</html>